import React, { useContext, useEffect, useRef, useState, useReducer } from 'react';
import Style from './index.module.scss';


// 文字走马灯滚动：keyframes
const Marquee = React.memo((props) => {
  return (
    <div style={{...props.marqueeWrap}} className={Style.marquee_wrap}>
      <div style={{...props?.marqueeContent}} className={Style.marquee_content}>{props.children}</div>
    </div>
  );
});

export default Marquee;
